Skip to content

fix(devtools): solidjs importing browser utils - #181

Draft
harry-whorlow wants to merge 3 commits into
mainfrom
cloudflair-workerd-env
Draft

fix(devtools): solidjs importing browser utils#181
harry-whorlow wants to merge 3 commits into
mainfrom
cloudflair-workerd-env

Conversation

@harry-whorlow

Copy link
Copy Markdown
Collaborator

No description provided.

@coderabbitai

coderabbitai Bot commented Mar 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1e360c84-af1c-456a-a8d2-24ba400d2445

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cloudflair-workerd-env

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@harry-whorlow harry-whorlow changed the title Cloudflair workerd env fix(devtools): solidjs importing browser utils Mar 25, 2026
@harry-whorlow
harry-whorlow force-pushed the cloudflair-workerd-env branch from 71e7aa3 to 15ad3d8 Compare March 25, 2026 18:15
@harry-whorlow harry-whorlow reopened this Mar 25, 2026
@nx-cloud

nx-cloud Bot commented Mar 25, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit b2a8f1a

Command Status Duration Result
nx run-many --targets=build --exclude=examples/** ✅ Succeeded 8s View ↗

☁️ Nx Cloud last updated this comment at 2026-08-06 13:17:44 UTC

@pkg-pr-new

pkg-pr-new Bot commented Mar 25, 2026

Copy link
Copy Markdown
More templates

@tanstack/angular-pacer

npm i https://pkg.pr.new/@tanstack/angular-pacer@181

@tanstack/pacer

npm i https://pkg.pr.new/@tanstack/pacer@181

@tanstack/pacer-devtools

npm i https://pkg.pr.new/@tanstack/pacer-devtools@181

@tanstack/pacer-lite

npm i https://pkg.pr.new/@tanstack/pacer-lite@181

@tanstack/preact-pacer

npm i https://pkg.pr.new/@tanstack/preact-pacer@181

@tanstack/preact-pacer-devtools

npm i https://pkg.pr.new/@tanstack/preact-pacer-devtools@181

@tanstack/react-pacer

npm i https://pkg.pr.new/@tanstack/react-pacer@181

@tanstack/react-pacer-devtools

npm i https://pkg.pr.new/@tanstack/react-pacer-devtools@181

@tanstack/solid-pacer

npm i https://pkg.pr.new/@tanstack/solid-pacer@181

@tanstack/solid-pacer-devtools

npm i https://pkg.pr.new/@tanstack/solid-pacer-devtools@181

commit: b2a8f1a

Copilot AI lite review requested due to automatic review settings August 6, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors pacer-devtools styling to reduce inline style usage in SolidJS components by moving layout concerns into the shared use-styles stylesheet and using CSS custom properties for dynamic sizing.

Changes:

  • Replaced inline height/max-height and panel width style objects with CSS variables (--shell-slot-height, --left-panel-width).
  • Moved StateHeader inline layout styles into use-styles as new class rules.
  • Removed redundant inline flex: 1 on the right panel in favor of the existing stylesheet rule.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/pacer-devtools/src/styles/use-styles.ts Adds CSS-variable-driven sizing and new StateHeader helper styles.
packages/pacer-devtools/src/components/StateHeader.tsx Switches from inline style to stylesheet classes for header layout.
packages/pacer-devtools/src/components/Shell.tsx Uses CSS variables instead of inline style objects for slot height and left panel width.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +379 to +383
stateHeaderMeta: css`
display: flex;
align-items: center;
gap: 16px;
`,
Comment on lines +384 to +387
stateHeaderReduction: css`
margin-left: auto;
font-weight: bold;
`,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants